var vm = new Vue({
    el: '#contentContainer',
    data: {
        active: 0,
        steps: []
    },
    created: function () {
        var $this = this;

        Common.getJson('/process/definition/getProcessSteps',
            {
                processDefinitionId: Common.getUrlParam('processDefinitionId')
            },
            function (response) {
                if (!response || response.status != 200)
                    return;

                $this.active = response.result.active;
                $this.steps = response.result.steps;
            });
    }
});